# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=idb
pkgver=2.10.3
pkgrel=15
groups=('blackarch' 'blackarch-mobile')
pkgdesc='A tool to simplify some common tasks for iOS pentesting and research.'
arch=('x86_64' 'aarch64')
url='https://rubygems.org/gems/idb'
license=('MIT')
depends=('ruby' 'qt4')
makedepends=('ruby' 'cmake')
options=('!strip')
source=("https://rubygems.org/downloads/$pkgname-$pkgver.gem")
sha512sums=('6fa68d47b886f3dd09ab4b93c85553ed2d4a26901fe454971b17edb80f266135172cfbee6f74795c3ffc2f22e20bfd240aebac648a034b006d7e9f004ad867e5')
install="$pkgname.install"

package() {
  install -dm 755 "$pkgdir/usr/bin"
  install -dm 755 "$pkgdir/usr/share/$pkgname"

  install -Dm 644 "$pkgname-$pkgver.gem" \
    "$pkgdir/usr/share/$pkgname/$pkgname-$pkgver.gem"
}

